package assets;

import assets.unloading.AssetUnloader;

/**
 * An abstract parent class for assets which 
 * 
 * @author Joel Rausch
 */
public abstract class Asset {
	
	/** Reference to asset unloader. */
	private final AssetUnloader unloader;
	
	public Asset(AssetUnloader unloader) {
		this.unloader = unloader;
	}
	
	/**
	 * Returns the asset unloader.
	 * @return
	 */
	public AssetUnloader unloader() {
		return unloader;
	}
}
